package com.lb.shopguide.base;


import com.lb.shopguide.entity.network.PageBean;

/**
 * Created by kang on 2017/5/8.
 */

public abstract class BasePageFragment extends BaseCommonFragment {
    public int pageSize = 16;
    public int pageNum = 1;

    public PageBean curPageBean;

    public abstract void sendRequestForPageData();

    public void loadMore() {
        pageNum += 1;
        sendRequestForPageData();
    }

    public void refresh(){
        pageNum = 1;
        sendRequestForPageData();
    }
}
